package com.mingmen.supplier.model;

import java.util.List;

public class ListMarketModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-09-02 11:03:19
     * data : [{"region":"老城区","markets":[{"id":"24","name":"远东市场(名流新城东南)"}]}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * region : 老城区
         * markets : [{"id":"24","name":"远东市场(名流新城东南)"}]
         */

        private String region;
        private List<MarketsBean> markets;

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }

        public List<MarketsBean> getMarkets() {
            return markets;
        }

        public void setMarkets(List<MarketsBean> markets) {
            this.markets = markets;
        }

        public static class MarketsBean {
            /**
             * id : 24
             * name : 远东市场(名流新城东南)
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
